package grape.attend.rest.group.vo;
import grape.attend.service.clock.api.IClockService;
import grape.attend.service.overtime.api.IOvertimeRestService;
import grape.attend.service.overtime.api.IOvertimeService;
import grape.common.rest.vo.BaseIdVo;

import grape.common.service.trans.TransBy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *  考勤组设置表
 * </p>
 *
 * @author yangwei
 * @since 2020-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value=" 考勤组设置表数据响应对象")
public class GroupVo extends BaseIdVo<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;


    @ApiModelProperty(value = "加班设置id")
    private String overtimeId;

    @TransBy(type = IOvertimeService.trans_name,byFieldName = "overtimeId")
    @ApiModelProperty(value = "加班设置名称")
    private String overtimeName;

    @ApiModelProperty(value = "打卡设置id")
    private String clockId;

    @TransBy(type = IClockService.trans_name,byFieldName = "clockId")
    @ApiModelProperty(value = "打卡设置名称")
    private String clockName;

    @ApiModelProperty(value = "备注")
    private String remark;


}
